package com.tj.jinzao.callback;

import com.tj.jinzao.base.IBaseView;
import com.tj.jinzao.model.FriendBean;
import com.tj.jinzao.model.ResultResponse;
import com.tj.jinzao.model.User;

/**
 * 请求返回的接口
 * Created by wjy on 2018/4/21.
 */

public interface IListFriendView<T> extends IBaseView<T> {
    void onRequestSuccessPage(int currentPage, int allPage, int allSize);
    void onReload(Object tag);
    void onAddFriendSuccess(FriendBean friendBean);
    void onFailed(ResultResponse response);
    void onUserInfoSuccess(User user);
    void onUserInfoFailed(ResultResponse response);

}
